package com.have.blog.model.mapper;

import com.have.blog.model.models.BlogSubjectItem;
import com.have.blog.model.models.BlogSubjectItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BlogSubjectItemMapper {
    long countByExample(BlogSubjectItemExample example);

    int deleteByExample(BlogSubjectItemExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(BlogSubjectItem record);

    int insertSelective(BlogSubjectItem record);

    List<BlogSubjectItem> selectByExample(BlogSubjectItemExample example);

    BlogSubjectItem selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") BlogSubjectItem record, @Param("example") BlogSubjectItemExample example);

    int updateByExample(@Param("record") BlogSubjectItem record, @Param("example") BlogSubjectItemExample example);

    int updateByPrimaryKeySelective(BlogSubjectItem record);

    int updateByPrimaryKey(BlogSubjectItem record);
}